package com.dkm.ec.sale.persistence.entity;

import java.util.List;
import java.util.Map;

import com.dkm.base.api.annotion.IField;
import com.dkm.biz.gl.persistence.entity.EavSetGroupPo;
import com.dkm.biz.gl.persistence.entity.GlDicPo;
import com.dkm.ec.product.persistence.entity.ProdCatePo;
import com.dkm.ec.product.persistence.entity.ProdSeoPo;
import com.dkm.ec.product.persistence.entity.ProductMediaPo;

/**
 * 对象功能:销售产品实体 entity对象
 * 开发公司:SKG.COM
 * 开发人员:Yuki
 * 创建时间:2015-01-16 15:23:27
 */
public class SaleEntityPo extends SaleEntityTbl{
	private String mainCloudPath;//产品主图
	private String cateName;//产品分类名称
	private String cateKey;//产品分类key
	private String subCateKey;//从属分类key
	private String subCateName;//从属分类名称
	private String pcid;//产品分类的上一级
	private String  descContent;
	private List<ProductMediaPo> productMediaPos;
	private List<ProductMediaPo> productMediaColorPos;
	private List<SaleSkuPo> saleSkuPos;
	private Map<String, Object> attrDataMap;//产品属性
	private List<EavSetGroupPo> eavSetGroupPos;
	private ProdSeoPo prodSeoPo;
	private Map<String,Object> imgSizeMap;
	private List<SaleServicePo> saleServicePos;	//产品延保服务
	private List<GlDicPo> saleServiceTypes;	//延保类型
	
	private List<ProdCatePo> prodCatePos; //分类信息
	
	private String cateIds; //存放类型Id串 

	private String cateNames;//存放类型名称串 

	private String createType;
	
	private Double listPrice;
	private Double pointPrice;
	private Double stockQty;
	private Integer evalQty;
	private Integer saleQty;
	private Integer goodReviewQty;
	
	
	public Integer getSaleQty() {
		return saleQty;
	}
	public void setSaleQty(Integer saleQty) {
		this.saleQty = saleQty;
	}
	public Integer getGoodReviewQty() {
		return goodReviewQty;
	}
	public void setGoodReviewQty(Integer goodReviewQty) {
		this.goodReviewQty = goodReviewQty;
	}
	public Integer getEvalQty() {
		return evalQty;
	}
	public void setEvalQty(Integer evalQty) {
		this.evalQty = evalQty;
	}
	public Double getListPrice() {
		return listPrice;
	}
	public void setListPrice(Double listPrice) {
		this.listPrice = listPrice;
	}
	public Double getPointPrice() {
		return pointPrice;
	}
	public void setPointPrice(Double pointPrice) {
		this.pointPrice = pointPrice;
	}
	public Double getStockQty() {
		return stockQty;
	}
	public void setStockQty(Double stockQty) {
		this.stockQty = stockQty;
	}
	public String getCreateType() {
		return createType;
	}
	public void setCreateType(String createType) {
		this.createType = createType;
	}
	public List<ProductMediaPo> getProductMediaColorPos() {
		return productMediaColorPos;
	}
	public void setProductMediaColorPos(List<ProductMediaPo> productMediaColorPos) {
		this.productMediaColorPos = productMediaColorPos;
	}

	public String getCateIds() {
		return cateIds;
	}
	public void setCateIds(String cateIds) {
		this.cateIds = cateIds;
	}
	public String getCateNames() {
		return cateNames;
	}
	public void setCateNames(String cateNames) {
		this.cateNames = cateNames;
	}
	private boolean needGenSolr = true;
	
	public String getMainCloudPath() {
		return mainCloudPath;
	}
	public void setMainCloudPath(String mainCloudPath) {
		this.mainCloudPath = mainCloudPath;
	}
	public String getCateName() {
		return cateName;
	}
	public void setCateName(String cateName) {
		this.cateName = cateName;
	}
	public String getCateKey() {
		return cateKey;
	}
	public void setCateKey(String cateKey) {
		this.cateKey = cateKey;
	}
	public String getDescContent() {
		return descContent;
	}
	public void setDescContent(String descContent) {
		this.descContent = descContent;
	}
	public List<ProductMediaPo> getProductMediaPos() {
		return productMediaPos;
	}
	public void setProductMediaPos(List<ProductMediaPo> productMediaPos) {
		this.productMediaPos = productMediaPos;
	}
	
	
	public List<SaleSkuPo> getSaleSkuPos() {
		return saleSkuPos;
	}
	public void setSaleSkuPos(List<SaleSkuPo> saleSkuPos) {
		this.saleSkuPos = saleSkuPos;
	}

	public List<EavSetGroupPo> getEavSetGroupPos() {
		return eavSetGroupPos;
	}
	public void setEavSetGroupPos(List<EavSetGroupPo> eavSetGroupPos) {
		this.eavSetGroupPos = eavSetGroupPos;
	}
	
	
	public Map<String, Object> getAttrDataMap() {
		return attrDataMap;
	}
	public void setAttrDataMap(Map<String, Object> attrDataMap) {
		this.attrDataMap = attrDataMap;
	}
	public ProdSeoPo getProdSeoPo() {
		return prodSeoPo;
	}
	public void setProdSeoPo(ProdSeoPo prodSeoPo) {
		this.prodSeoPo = prodSeoPo;
	}
	public boolean isNeedGenSolr() {
		return needGenSolr;
	}
	public void setNeedGenSolr(boolean needGenSolr) {
		this.needGenSolr = needGenSolr;
	}
	public Map<String, Object> getImgSizeMap() {
		return imgSizeMap;
	}
	public void setImgSizeMap(Map<String, Object> imgSizeMap) {
		this.imgSizeMap = imgSizeMap;
	}
	public String getPcid() {
		return pcid;
	}
	public void setPcid(String pcid) {
		this.pcid = pcid;
	}
	public List<SaleServicePo> getSaleServicePos() {
		return saleServicePos;
	}
	public void setSaleServicePos(List<SaleServicePo> saleServicePos) {
		this.saleServicePos = saleServicePos;
	}
	public List<GlDicPo> getSaleServiceTypes() {
		return saleServiceTypes;
	}
	public void setSaleServiceTypes(List<GlDicPo> saleServiceTypes) {
		this.saleServiceTypes = saleServiceTypes;
	}
	public String getSubCateName() {
		return subCateName;
	}
	public void setSubCateName(String subCateName) {
		this.subCateName = subCateName;
	}
	public String getSubCateKey() {
		return subCateKey;
	}
	public void setSubCateKey(String subCateKey) {
		this.subCateKey = subCateKey;
	}
	public List<ProdCatePo> getProdCatePos() {
		return prodCatePos;
	}
	public void setProdCatePos(List<ProdCatePo> prodCatePos) {
		this.prodCatePos = prodCatePos;
	}
	
}